package com.example.tys.skindemo;

import android.app.Application;
import android.os.Environment;

import com.example.tys.skindemo.resPluginConfig.SkinConfig;
import com.example.tys.skindemo.resPluginCore.ResPluginImpl;

import java.io.File;

/**
 * Created by tys on 2018/3/17.
 */

public class App extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        ResPluginImpl.getsInstance().init(this);
        ResPluginImpl.getsInstance().load(
                Environment.getExternalStorageDirectory() + File.separator + "plugin.apk",
                "com.example.tys.pluginapk");
    }
}
